


#include <stdlib.h>

int main() {
    // 执行第一个shell
    int result1 = system("../gitgui.sh");
    int result2 = system("chmod +x ../gitgui.sh");


    if (result1 == -1||result2 == -1) {
        perror("Error executing gitgui.sh");
        return 1;
    }

    // 执行第二个shell脚本
    int result3 = system("../openCmdWindows.sh");
    if (result3 == -1) {
        perror("Error executing openCmdWindows.sh");
        return 1;
    }
    

   }    
